/* 
 * Author      		: Adnin Devit CF 
 * Date Created		: 31-Maret-2011 
 * Date Modified	: 6-April-2011 
 * Version			: 1.1 
 * */
package jtk.project4.fleet.event;

import java.util.List;

import nl.coderight.jazz.Event;

//import jtk.project4.fleet.domain.MaintenanceHistory;
import jtk.project4.fleet.domain.History;
import jtk.project4.fleet.event.MaintenanceHistoryEvent.MaintenanceHistoryEventType;

public class MaintenanceHistoryEvent extends Event<MaintenanceHistoryEventType>{
	
	private List<History> historyEntries;
	
	public MaintenanceHistoryEvent(MaintenanceHistoryEventType type) {
		super(type);
	}

	public enum MaintenanceHistoryEventType {
		LOAD_SUCCESS,
		FILTER, ADD, EDIT, DELETE, SUBMIT, CANCEL, SELECT, CHANGE, VIEW, CLOSE;

	}
	public List<History> getMaintenanceHistory(){
		return historyEntries;
	}
	
	public void setMaintenanceHistory(List<History> historyEntries){
		this.historyEntries = historyEntries;
	}
}
